package com.bw.zg3.Home.Apter

import com.bw.base.entity.GGEntityResult
import com.bw.base.entity.GGEntityResultItem
import com.bw.zg3.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class GGApter:BaseQuickAdapter<GGEntityResultItem,BaseViewHolder>(R.layout.gg) {
    override fun convert(helper: BaseViewHolder, item: GGEntityResultItem) {
        helper.setText(R.id.g1,item.title)
        helper.setText(R.id.g2,item.content)
        helper.setText(R.id.g3,item.publishTime)
    }
}